package builder.abstract_builder.builder;

import builder.abstract_builder.ComputerBuilder;

public class Server extends ComputerBuilder {
    @Override
    public void buildBoard() {
        computer.setBoard("ASUS TUF GAMING B550M");
        System.out.println("装载主板！");
    }

    @Override
    public void buildCPU() {
        computer.setCpu("AMD Ryzen 9 5950X");
        System.out.println("装载CPU！");
    }

    @Override
    public void buildRAM() {
        computer.setRam("Galaxy HOF DDR4 4000mHz 8GB x4");
        System.out.println("装载RAM！");
    }

    @Override
    public void buildHardDisk() {
        computer.setHardDisk("SAMSUNG 980 pro (PCI-E4.0) 1TB");
        System.out.println("装载硬盘！");
    }

    @Override
    public void buildDesktop() {
        computer.setDesktop("无显示输出");
    }


}
